package vue;

import java.awt.EventQueue;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTextField;

public class loginIHM {

	private JFrame frame;
	private JTextField login;
	private JTextField textField;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) 
	{
		EventQueue.invokeLater(new Runnable() 
		{
			public void run()
			{
				try
				{
					loginIHM window = new loginIHM();
					window.frame.setVisible(true);
				} 
				catch (Exception e) 
				{
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public loginIHM() 
	{
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize()
	{
		frame = new JFrame();
		frame.setBounds(100, 100, 231, 239);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.getContentPane().setLayout(null);
		
		login = new JTextField();
		login.setBounds(98, 29, 86, 20);
		frame.getContentPane().add(login);
		login.setColumns(10);
		
		JLabel lblLogin = new JLabel("Login :");
		lblLogin.setBounds(25, 32, 46, 14);
		frame.getContentPane().add(lblLogin);
		
		textField = new JTextField();
		textField.setBounds(98, 77, 86, 20);
		frame.getContentPane().add(textField);
		textField.setColumns(10);
		
		JLabel lblPassword = new JLabel("Password :");
		lblPassword.setBounds(25, 80, 79, 14);
		frame.getContentPane().add(lblPassword);
		
		JButton btnConnexion = new JButton("Connexion");
		btnConnexion.setBounds(57, 123, 95, 23);
		frame.getContentPane().add(btnConnexion);
	}

}
